/* eslint-disable semi */
/**
 * Created by liyu on 2018/1/5.
 */
// 引入所有vuex相关文件，统一成一个store对象，导出到main.js注册
import Vue from 'vue';
import Vuex from 'vuex';
import homeStore from './homeStore';
import carStore from './carStore';

Vue.use(Vuex);

const store = new Vuex.Store({
  modules: {
    homeStore: homeStore,
    carStore: carStore
  }
});
export default store;
import Vue from 'vue'
import Vuex from 'vuex'
import MemberContainer from './MemberContainer'
import MemberList from './MemberList'
import Shops from './Shops'
import NewCard from './NewCard'
import NewShops from './NewShops'
import NewShopslist from './NewShopslist'
import openShop from './openShop'
Vue.use(Vuex);
const store = new Vuex.Store({
  modules: {
    MemberContainer: MemberContainer,
    MemberList: MemberList,
    Shops: Shops,
    NewCard: NewCard,
    NewShops: NewShops,
    NewShopslist: NewShopslist,
    openShop: openShop
  }
})
export default store
